package com.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.pojo.common.PageResult;
import com.crm.pojo.domain.Clue;
import com.crm.pojo.dto.CluePoolDto;
import com.crm.pojo.dto.ClueDto;
import com.crm.pojo.dto.ClueFalseDto;
import com.crm.pojo.vo.ClueVo;

public interface ClueService extends IService<Clue> {
    PageResult list(ClueDto clueDto);

    ClueVo getById(Long id);

    void add(ClueDto clueDto);

    void record(ClueDto clueDto);

    PageResult clueRecord(Long clueId);

    String clueFalse(ClueFalseDto clueFalseDto);

    String assignment(CluePoolDto cluePoolDto);

    String gain(CluePoolDto cluePoolDto);

    Object changeBusiness(Long id);

    void transfer(Long clueOrBusiness,Long oldId, Long newId);
}
